<html>
<body>
<#list print as p>
<div id="page${p.page}">
    <div style="width: 100%;font-size: 22px;text-align: center;font-weight: 900;">
        ${bp.project_code}  考证考生相片总表
    </div>
    <div style="width: 100%;font-size: 16px;text-align: right;margin: 10px 0;">
        <strong>报考单位：</strong>${dep.dep_name}  &nbsp;&nbsp;<strong>报考班级：</strong>${bc.class_name}
    </div>
    <table border="0" cellspacing="0"  cellpadding="0">
        <tr>
            <#list p.content as bps>
                <#if (bps_index)%4==0>
                    </tr><tr>
                </#if>

                <td>
                <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tab">
                    <tr>
                        <th>${bps_index+1}</th>
                        <td><img src="${root!}${bps.student_pic!}" style="width: 110px;height: 160px;"/></td>
                    </tr>
                    <tr>
                        <th>序<br>号</th>
                        <td style="text-align: left;">姓名:${bps.student_name!}<br>
                            <span style="font-size: 8px;">身份证:${bps.student_id_cart!}</span><br>
                            签名:
                        </td>
                    </tr>
                </table>
            </td>
            </#list>

    </tr>
    </table>


</div>
    </#list>
<!-- 插入打印控件 -->
<OBJECT  ID="jatoolsPrinter" CLASSID="CLSID:B43D3361-D075-4BE2-87FE-057188254255"
         codebase="jatoolsPrinter.cab#version=8,6,0,0"></OBJECT>
<script>
    function doPrint() {
        myDoc = {
            settings:{
                paperName:'a4',
                orientation:1,
                topMargin:80,
                leftMargin:80,
                bottomMargin:80,
                rightMargin:80
            },
            documents: document,
            /*
             要打印的div 对象在本文档中，控件将从本文档中的 id 为 'page1' 的div对象，
             作为首页打印id 为'page2'的作为第二页打印            */
            copyrights: '杰创软件拥有版权  www.jatools.com' // 版权声明,必须
        };
        jatoolsPrinter.printPreview(myDoc);
    }
</script>

</body>
</html>